<template>
  <div class="vivo-download" v-if="from === 'vivo'">
    本图鉴由Ganke提供，<a :href="vivoURL">下载APP解锁</a>全部功能
  </div>
</template>

<script>
export default {
  data() {
    return {
      from: "",
    };
  },
  created() {
    this.from = window.from;
  },
  methods: {
    download() {
      window.injectedAll.download();
    },
  },
};
</script>

<style lang="scss" scoped>
.vivo-download {
  text-align: center;
  padding: 0.1rem;
  a {
    color: #ff8a69;
  }
}
</style>
